﻿using System;
using System.Web.UI;
using WholesaleOnline.Controller;

namespace WholesaleOnline.WebUI.Common
{
    public class LoggedPage : Page
    {
        protected override void OnPreInit(EventArgs e)
        {
            base.OnPreInit(e);
            if (!SessionCache.IsLogin)
                Response.Redirect("LoginPage.aspx");
        }
    }
}